Sleep

Sleep suspends the current process for the specified time.

Syntax

VOID Sleep(
    ULONG milliSeconds
);

Parameters

milliSeconds

The amount of time to sleep, expressed as milliseconds.

Return Values

The function returns no value.

Remarks

Sleep suspends the given thread from execution for the specified amount of time.

Requirements

Library Rtx_Rtss.lib

See Also:

RtCreateTimer

RtDeleteTimer

RtGetClockResolution

RtGetClockTime

RtGetClockTimerPeriod

RtGetTimer

RtSetClockTime

RtSetTimer

RtSetTimerRelative

IntervalZero.com | Support | Give Feedback